package praktikumid.w06.p5;

public class Cat extends Animal {
	
	
	
	public Cat(int noOfLegs) {
		super.setNoOfLegs(noOfLegs);
	}
	
	public void purr() {
		System.out.println("Purring...");
	}
	
	@Override
	public String toString() {
		return "I am a cat!";
	}
	
	public void makeNoise() {
		System.out.println("Meow!");
	}

}
